function insert(){
	var data = $("#form_add").serialize();
    $.post("admin/product_insert.do", data, function (result) {alert(result)},"text");
}

/**
 * 删除产品
 */
function del(_id){
	$.post("admin/product_delete.do", {"id":_id}, function (result) {location.reload()});
}

$().ready(function(){
	
});